package com.usdt.system.domain.req;

import java.time.LocalDate;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Tag(name = "到访记录VO")
public class VisitRecordReqVO {

	@Schema(title = "到访目的")
    private String reason;

	@Schema(title = "是否预约  0：否  1：是")
    private Boolean isReservation;

	@Schema(title = "到访时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

	@Schema(title = "到访详情")
    private String content;
	
	@Schema(title = "客户关注点(查主数据)")
	private String focus;
	
	@Schema(title = "下次跟进时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime nextFollowUpTime;
}
